package bean;


public class Husband {

  private int husid;
  private String husname;
  private int wid;
  private Wife wife;

  @Override
  public String toString() {
    return "Husband{" +
            "husid=" + husid +
            ", husname='" + husname + '\'' +
            ", wid=" + wid +
            ", wife=" + wife +
            '}';
  }

  public Wife getWife() {
    return wife;
  }

  public void setWife(Wife wife) {
    this.wife = wife;
  }

  public long getHusid() {
    return husid;
  }

  public void setHusid(int husid) {
    this.husid = husid;
  }


  public String getHusname() {
    return husname;
  }

  public void setHusname(String husname) {
    this.husname = husname;
  }


  public long getWid() {
    return wid;
  }

  public void setWid(int wid) {
    this.wid = wid;
  }

}
